package com.qiang.test16;

public class Demo02 {
    public static void main(String[] args) {
        Person p = new Person() {
            @Override
            public void Eat() {
                System.out.println("吃豆子");
            }
        };
        p.Eat();
    }
}
